<template>
  <!-- <nav>
    <router-link to="/">Home</router-link> |
    <router-link to="/about">About</router-link>
  </nav>
  <router-view/> -->
  <van-tabbar v-model="active" route>
  	<van-tabbar-item name="home" to="/" icon="home-o">主页</van-tabbar-item>
  	<van-tabbar-item name="search" icon="search">绩效</van-tabbar-item>
  	<van-tabbar-item name="friends" icon="friends-o">审批</van-tabbar-item>
  	<van-tabbar-item name="setting" to="/my" icon="setting-o">我的</van-tabbar-item>
  </van-tabbar>
</template>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  padding: 30px;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
}

nav a.router-link-exact-active {
  color: #42b983;
}
</style>
